<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>DataSet.setDataSymbol4</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1"><a href="DataSet.htm">DataSet</a>.<wbr>setDataSymbol4</p>
<hr class="separator">
<p class="heading2a">Usage</p>
<div class="content">
public void setDataSymbol4(int[] shape [, int size [, int fillColor [, int edgeColor ]]])
</div>
<p class="heading2">Description</p>
<div class="content">
Uses a custom shape as the graphics symbol to plot the data points.<br><br>
In the current version of ChartDirector, data symbols are supported only in  <a href="LineLayer.htm">LineLayer</a>, <a href="SplineLayer.htm">SplineLayer</a>, <a href="StepLineLayer.htm">StepLineLayer</a> and <a href="ScatterLayer.htm">ScatterLayer</a>. To use data  symbols in other layer types, add a <a href="ScatterLayer.htm">ScatterLayer</a> on top of that layer.
</div>
<p class="heading2">Arguments</p>
<div class="content">
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Argument</th><th width="19%">Default</th><th>Description</th>
</tr>
<tr>
<td>shape</td><td>(Mandatory)</td><td>An array of integers representing the coordinates the polygon vertices. See <a href="shapespec.htm">Shape Specification</a> on how the custom shape is defined.</td></tr><tr><td>size</td><td>11</td><td>The size of the symbol in pixels. By default, the width and height will be of the same size. If you want to use different size for width and height, you can pass the width and height to <a href="Chart.xySize.htm">Chart.xySize</a> and use the return value as the size.</td></tr><tr><td>fillColor</td><td>-1</td><td>The color used to fill the symbol. -1 means the color of the data set will be used.</td></tr><tr><td>edgeColor</td><td>-1</td><td>The edge color used to draw the edge of the symbol. -1 means the edge color of the data set will be used.</td>
</tr>
</table>
</div>
</div>
<p class="heading2">Return Value</p>
<div class="content">
None
</div>
<br><hr class="separator">
<div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
